import request from '@/utils/request'

// 查询待审批奖励列表
export function listPendAward(query) {
  return request({
    url: '/gxs/pendAward/list',
    method: 'get',
    params: query
  })
}

// 查询待审批奖励详细
export function getPendAward(gxsPendAwardid) {
  return request({
    url: '/gxs/pendAward/' + gxsPendAwardid,
    method: 'get'
  })
}

// 新增待审批奖励
export function addPendAward(data) {
  return request({
    url: '/gxs/pendAward',
    method: 'post',
    data: data
  })
}

// 修改待审批奖励
export function updatePendAward(data) {
  return request({
    url: '/gxs/pendAward',
    method: 'put',
    data: data
  })
}

// 删除待审批奖励
export function delPendAward(gxsPendAwardid) {
  return request({
    url: '/gxs/pendAward/' + gxsPendAwardid,
    method: 'delete'
  })
}
